type TupleToUnionArr = ['1', '2', '3']

type TupleToUnionTest = TupleToUnion<TupleToUnionArr> // expected to be '1' | '2' | '3'

type TupleToUnion<T extends unknown[]> = T[number]